<template>
  <div style="padding: 0 0 0 10px">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="订单统计" name="first">
        <data-display />
      </el-tab-pane>
      <el-tab-pane label="订单查看" name="second">
        <Form />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import Form from './components/Form'
import DataDisplay from './components/DataDisplay'
export default {
  name: 'OrderPage',
  components:{
    Form,
    DataDisplay
  },
  data(){
    return{
      activeName: 'first',

    }
  },
  methods: {
    handleClick(tab, event) {
    }
  }
}
</script>

